package cn.edu.zzuli.pojo;

import cn.edu.zzuli.pojo.Address;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import javax.annotation.Resource;

@Data
public class User {

    private String name;


//    @Resource(name = "address1")
    @Autowired
    private Address address;
}
